//
//  ViewController.m
//  StackExample
//
//  Created by blank on 2017/11/28.
//  Copyright © 2017年 CYN. All rights reserved.
//

#import "ViewController.h"
#import "CYNStackArray.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.

    CYNStackArray *stackArray = [[CYNStackArray alloc] init];
    [stackArray push:@"1"];
    [stackArray push:@"2"];
    [stackArray push:@"3"];

    NSLog(@"pop0 == %@", stackArray.popObj);
    NSLog(@"pop1 == %@", stackArray.popObj);
    NSLog(@"pop2 == %@", stackArray.popObj);


}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
